﻿<phone:PhoneApplicationPage 
    x:Class="OnlineVideos.SubjectDetail"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
    xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone"
    xmlns:controls="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone.Controls"
    xmlns:AdRotator="clr-namespace:AdRotator;assembly=AdRotator"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
 xmlns:Lart="clr-namespace:OnlineVideos"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
    mc:Ignorable="d" d:DesignWidth="480" d:DesignHeight="800"
    FontFamily="{StaticResource PhoneFontFamilyNormal}"
    FontSize="{StaticResource PhoneFontSizeNormal}"
    Foreground="{StaticResource PhoneForegroundBrush}"
    SupportedOrientations="Portrait"  Orientation="Portrait"
    shell:SystemTray.IsVisible="False" Loaded="PhoneApplicationPage_Loaded">
    
    <!--LayoutRoot is the root grid where all page content is placed-->
    <Grid x:Name="LayoutRoot" Background="Transparent">
        <!--Pivot Control-->
        <Grid.RowDefinitions>
            <RowDefinition Height="*"/>
            <RowDefinition Height="80"/>
        </Grid.RowDefinitions>
        <phone:Pivot x:Name="pvtMainDetails" Grid.Row="0" SelectionChanged="pvtMainDetails_SelectionChanged_1">
        <phone:Pivot.Title>
                <StackPanel Orientation="Horizontal" Margin="0,0,0,0">
                    <Image Style="{StaticResource DetailPagePivotTitleImage}" x:Name="imgTitle" MouseLeftButtonDown="imgTitle_MouseLeftButtonDown"/>
                    <TextBlock x:Name="tblkVideosTitle"   Style="{StaticResource DetailPagePivotTitle}"/>
                </StackPanel>
            </phone:Pivot.Title>
        <phone:Pivot.Foreground>white</phone:Pivot.Foreground>
            <!--Pivot item one-->
        <phone:PivotItem x:Name="pvtitmSongs" Header="videos">

                <Grid  x:Name="showVideogrid">
                    <Lart:ShowVideos x:Name="VideosList" />
                </Grid>
            </phone:PivotItem>
            <!--Pivot item two-->
        <phone:PivotItem x:Name="pvtitmTest" >
                <Grid x:Name="testgrid">
		<Lart:ShowQuiz x:Name="QuizList"/>
                </Grid>
            </phone:PivotItem>
        </phone:Pivot>
        <StackPanel Name="adstackplSubdetails" Grid.Row="1" Orientation="Vertical">
           
        </StackPanel>
    </Grid>

    <phone:PhoneApplicationPage.ApplicationBar>

        <shell:ApplicationBar x:Name="appbar" IsVisible="False" IsMenuEnabled="True">
            <shell:ApplicationBar.MenuItems>
                <shell:ApplicationBarMenuItem x:Name="btnshare" Text="Share this" Click="btnshare_Click_1"/>
                <shell:ApplicationBarMenuItem x:Name="btnadd"   Text="Add" Click="btnadd_Click_1"/>
            </shell:ApplicationBar.MenuItems>
        </shell:ApplicationBar>
    </phone:PhoneApplicationPage.ApplicationBar>
</phone:PhoneApplicationPage>
